Carbon


PowerHandlerProcPtr

Header: Power.h Carbon status: Unsupported

typedef OSStatus(* PowerHandlerProcPtr) (
    UInt32 message, 
    void *param, 
    UInt32 refCon, 
    RegEntryID *regEntryID
);

You would declare your function like this if you were to name it MyPowerHandlerCallback:

OSStatus MyPowerHandlerCallback (
    UInt32 message, 
    void *param, 
    UInt32 refCon, 
    RegEntryID *regEntryID
);
message
param
refCon
regEntryID
function result

A result code.

AVAILABILITY

Not supported in Carbon.


© 2000 Apple Computer, Inc. — (Last Updated 5/4/2000)